package com.snowdragon.system.service.sysuser;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snowdragon.common.core.domain.po.R;
import com.snowdragon.common.core.domain.vo.LoginUserVO;
import com.snowdragon.system.domain.sysuser.dto.SysUserSaveDTO;
import com.snowdragon.system.domain.sysuser.po.SysUser;

public interface ISysUserService extends IService<SysUser> {
    R<String> login(SysUserSaveDTO sysUserSaveDTO);

    boolean add(SysUserSaveDTO sysUserSaveDTO);

    boolean logout(String token);

    R<LoginUserVO> info(String token);
}
